package GUI;


import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StyledText;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class UserGUI extends org.eclipse.swt.widgets.Composite {
	private Button submit;
	private Button share;
	private Combo folder;
	private StyledText styledText2;
	private StyledText styledText1;
	private Button right;
	private Button left;
	private Label label2;
	private Label label1;
	private Label label3;
	private StyledText styledText5;
	private StyledText styledText4;
	private StyledText styledText3;
	private Text pass;
	private Text login;
	private Button tag;
	private Button Find;

	/**
	* Auto-generated main method to display this 
	* org.eclipse.swt.widgets.Composite inside a new Shell.
	*/
	public static void main(String[] args) {
		showGUI();
	}
	
	/**
	* Overriding checkSubclass allows this class to extend org.eclipse.swt.widgets.Composite
	*/	
	protected void checkSubclass() {
	}
	
	/**
	* Auto-generated method to display this 
	* org.eclipse.swt.widgets.Composite inside a new Shell.
	*/
	public static void showGUI() {
		Display display = Display.getDefault();
		Shell shell = new Shell(display);
		UserGUI inst = new UserGUI(shell, SWT.NULL);
		Point size = inst.getSize();
		shell.setLayout(new FillLayout());
		shell.layout();
		if(size.x == 0 && size.y == 0) {
			inst.pack();
			shell.pack();
		} else {
			Rectangle shellBounds = shell.computeTrim(0, 0, size.x, size.y);
			shell.setSize(shellBounds.width, shellBounds.height);
		}
		shell.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
	}

	public UserGUI(org.eclipse.swt.widgets.Composite parent, int style) {
		super(parent, style);
		initGUI();
	}

	private void initGUI() {
		try {
			FormLayout thisLayout = new FormLayout();
			this.setLayout(thisLayout);
			this.setSize(600, 259);
			{
				label3 = new Label(this, SWT.NONE);
				FormData label3LData = new FormData();
				label3LData.left =  new FormAttachment(0, 1000, 342);
				label3LData.top =  new FormAttachment(0, 1000, 15);
				label3LData.width = 99;
				label3LData.height = 23;
				label3.setLayoutData(label3LData);
				label3.setText("Working directory:");
			}
			{
				styledText5 = new StyledText(this, SWT.READ_ONLY);
				FormData styledText5LData = new FormData();
				styledText5LData.left =  new FormAttachment(0, 1000, 435);
				styledText5LData.top =  new FormAttachment(0, 1000, 161);
				styledText5LData.width = 65;
				styledText5LData.height = 58;
				styledText5.setLayoutData(styledText5LData);
				styledText5.setText("styledText5");
			}
			{
				styledText4 = new StyledText(this, SWT.READ_ONLY);
				FormData styledText4LData = new FormData();
				styledText4LData.left =  new FormAttachment(0, 1000, 336);
				styledText4LData.top =  new FormAttachment(0, 1000, 161);
				styledText4LData.width = 68;
				styledText4LData.height = 63;
				styledText4.setLayoutData(styledText4LData);
				styledText4.setText("styledText4");
			}
			{
				styledText3 = new StyledText(this, SWT.READ_ONLY);
				FormData styledText3LData = new FormData();
				styledText3LData.left =  new FormAttachment(0, 1000, 238);
				styledText3LData.top =  new FormAttachment(0, 1000, 161);
				styledText3LData.width = 73;
				styledText3LData.height = 63;
				styledText3.setLayoutData(styledText3LData);
				styledText3.setText("styledText3");
			}
			{
				styledText2 = new StyledText(this, SWT.READ_ONLY);
				FormData styledText2LData = new FormData();
				styledText2LData.left =  new FormAttachment(0, 1000, 146);
				styledText2LData.top =  new FormAttachment(0, 1000, 161);
				styledText2LData.width = 73;
				styledText2LData.height = 63;
				styledText2.setLayoutData(styledText2LData);
				styledText2.setText("styledText2");
			}
			{
				styledText1 = new StyledText(this, SWT.READ_ONLY);
				FormData styledText1LData = new FormData();
				styledText1LData.left =  new FormAttachment(0, 1000, 59);
				styledText1LData.top =  new FormAttachment(0, 1000, 161);
				styledText1LData.width = 68;
				styledText1LData.height = 63;
				styledText1.setLayoutData(styledText1LData);
				styledText1.setText("styledText1");
			}
			{
				right = new Button(this, SWT.PUSH | SWT.CENTER);
				FormData button2LData = new FormData();
				button2LData.left =  new FormAttachment(0, 1000, 519);
				button2LData.top =  new FormAttachment(0, 1000, 176);
				button2LData.width = 20;
				button2LData.height = 25;
				right.setLayoutData(button2LData);
				right.setText(">");
			}
			{
				left = new Button(this, SWT.PUSH | SWT.CENTER);
				FormData button1LData = new FormData();
				button1LData.left =  new FormAttachment(0, 1000, 22);
				button1LData.top =  new FormAttachment(0, 1000, 176);
				button1LData.width = 20;
				button1LData.height = 25;
				left.setLayoutData(button1LData);
				left.setText("<");
			}
			{
				label2 = new Label(this, SWT.NONE);
				FormData label2LData = new FormData();
				label2LData.left =  new FormAttachment(0, 1000, 9);
				label2LData.top =  new FormAttachment(0, 1000, 42);
				label2LData.width = 50;
				label2LData.height = 15;
				label2.setLayoutData(label2LData);
				label2.setText("Password");
			}
			{
				label1 = new Label(this, SWT.NONE);
				FormData label1LData = new FormData();
				label1LData.left =  new FormAttachment(0, 1000, 12);
				label1LData.top =  new FormAttachment(0, 1000, 15);
				label1LData.width = 30;
				label1LData.height = 15;
				label1.setLayoutData(label1LData);
				label1.setText("Login");
			}
			{
				pass = new Text(this, SWT.BORDER);
				FormData passLData = new FormData();
				passLData.left =  new FormAttachment(0, 1000, 65);
				passLData.top =  new FormAttachment(0, 1000, 42);
				passLData.width = 50;
				passLData.height = 15;
				pass.setLayoutData(passLData);
				pass.setText("password");
			}
			{
				login = new Text(this, SWT.BORDER);
				FormData loginLData = new FormData();
				loginLData.left =  new FormAttachment(0, 1000, 64);
				loginLData.top =  new FormAttachment(0, 1000, 15);
				loginLData.width = 49;
				loginLData.height = 15;
				login.setLayoutData(loginLData);
				login.setText("login");
			}
			{
				folder = new Combo(this, SWT.NONE);
				FormData folderLData = new FormData();
				folderLData.left =  new FormAttachment(0, 1000, 453);
				folderLData.top =  new FormAttachment(0, 1000, 15);
				folderLData.width = 33;
				folderLData.height = 23;
				folder.setLayoutData(folderLData);
				folder.setText("Folder");
			}
			{
				tag = new Button(this, SWT.PUSH | SWT.CENTER);
				FormData tagLData = new FormData();
				tagLData.left =  new FormAttachment(0, 1000, 539);
				tagLData.top =  new FormAttachment(0, 1000, 81);
				tagLData.width = 41;
				tagLData.height = 25;
				tag.setLayoutData(tagLData);
				tag.setText("Tag");
			}
			{
				share = new Button(this, SWT.PUSH | SWT.CENTER);
				FormData shareLData = new FormData();
				shareLData.left =  new FormAttachment(0, 1000, 539);
				shareLData.top =  new FormAttachment(0, 1000, 50);
				shareLData.width = 41;
				shareLData.height = 25;
				share.setLayoutData(shareLData);
				share.setText("Share");
			}
			{
				Find = new Button(this, SWT.PUSH | SWT.CENTER);
				FormData FindLData = new FormData();
				FindLData.left =  new FormAttachment(0, 1000, 539);
				FindLData.top =  new FormAttachment(0, 1000, 15);
				FindLData.width = 41;
				FindLData.height = 29;
				Find.setLayoutData(FindLData);
				Find.setText("Find");
			}
			{
				submit = new Button(this, SWT.PUSH | SWT.CENTER);
				FormData submitLData = new FormData();
				submitLData.left =  new FormAttachment(0, 1000, 42);
				submitLData.top =  new FormAttachment(0, 1000, 69);
				submitLData.width = 49;
				submitLData.height = 25;
				submit.setLayoutData(submitLData);
				submit.setText("submit");
			}
			this.layout();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
